﻿/* eslint-disable */
import React, {Component} from 'react';
import { Table,Button,Pagination  } from 'antd';
import locale from "antd/lib/date-picker/locale/zh_CN";


class putongDingdan extends Component {
    render() {
        // console.log(this.props)
        let {columns,data}=this.props
        return (
            <Table locale={locale} bordered rowKey={columns[0].dataIndex} columns={columns} dataSource={data}/>
        )



    }
}
class pintuanDingdan extends Component {
    render() {
        let {columns,data}=this.props
        // console.log(data)
        // console.log(columns)
        return (
            <Table locale={locale} bordered rowKey={columns[0].dataIndex} columns={columns} dataSource={data}/>
        );
    }
}

export default {
    putongDingdan,
    pintuanDingdan
};